package com.itheima.原子性;

/**
 * @Author 王加鑫
 * @Date 2021/5/23 14:50
 * @Version 1.0
 */
public class AtomDemo {

    public static void main(String[] args) {
        MyAtomrThread th = new MyAtomrThread();
        for (int i = 0; i < 100; i++) {
            Thread thread = new Thread(th);
            thread.start();
        }
    }


}
